<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>Black Hotel</title>
</h:head>
<h:body>
	<div id="cabecalho">
		<h:graphicImage library="img" name="logoHotel.png" />
		
		<h:form>
			<p:menubar>
				<p:submenu label="Reservas">
					<p:menuitem value="Efetuar Reserva" action="checkin" />
					<p:menuitem value="Minhas Reservas" action="relatorioReservasUsuario" />
				</p:submenu>
				
				<p:submenu label="Ocupações">
					<p:menuitem value="Minhas Ocupações"
						action="relatorioOcupacoesUsuario" />
				</p:submenu>
						
				<p:submenu label="Sair">
					<p:menuitem value="Encerrar sessão" action="#{loginMB.logOut}" />
				</p:submenu>
				
				

			</p:menubar>
		</h:form>

		<hr />
		<h1>
			<ui:insert name="titulo"></ui:insert>
		</h1>
	</div>

	<div id="conteudo">
		<ui:insert name="conteudo">
		</ui:insert>
	</div>
	<br />
	<hr />
	<div id="rodape" style="align: justify">
		<p:fieldset style="align: justify">Development by RFO Solutions</p:fieldset>
	</div>

</h:body>

</html>